﻿<%@ Page Language="C#" MasterPageFile="~/ana.master" AutoEventWireup="true" CodeFile="h.aspx.cs" Inherits="Default2" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
 
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View1" runat="server">
            <table cellpadding="0" cellspacing="0"  width="100%" height="598" bgcolor="white">
                <tr>
                    <td valign="top">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:DataList ID="DataList1" runat="server" 
                            DataSourceID="SqlDataSource1" Width="100%">
                            
                            <ItemTemplate>
                                <table cellpadding="0" cellspacing="0" class="style1">
                                    <tr>
                                        <td>
                                          >  <%#Eval("hbaslik")%></td>
                                    </tr>
                                    <tr>
                                        <td>
                                           <%#Eval("hkonu")%></td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                            
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:acsbagla %>" 
                            ProviderName="<%$ ConnectionStrings:acsbagla.ProviderName %>" 
                            SelectCommand="SELECT * FROM [tblhaberler] WHERE ([hid] = ?)">
                            <SelectParameters>
                                <asp:QueryStringParameter DefaultValue="" Name="hid" QueryStringField="id" 
                                    Type="Int32" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </td>
                </tr>
            </table>
        </asp:View>
    </asp:MultiView>
</asp:Content>

